Previous Topic

Next Topic

Routines

Navigator > Setup > Artificial Intelligence > Routines

A routine is a saved Ace prompt that the Accredo Web Service runs on a schedule, without a user starting it. The Routines window lists the logged-in User's routines with their run log. A holder of the Routines All Users AI permission can pick another User or show every user. Requires the Routines AI permission, see Users, Groups and Roles - AI Permissions tab.

Ace can save a routine from a chat when you ask it to run something on a schedule. After Ace saves a routine, it offers to open it here.

A routine runs as the User who set it up, with that User's permissions, and the records it creates carry that User. The User must stay active and allowed Web sessions on the System User record, see SYS Users - User tab, or each run is refused and shows as Failed. A permission taken away later applies from the next run.

The pane beside the runs shows the reply of the selected run. The Routine window shows a warning when the web service cannot send email for the User, or when a routine that emails you has no address to send to.

Selections

Show all users

Selected, lists every user's routines. Available with the Routines All Users permission.

User

The User whose routines are listed. Available with the Routines All Users permission.

Routines

Name

The routine name.

Owner

The User who set up the routine. The routine runs as this User.

Schedule

When the routine runs, for example Every 15 minutes, Hourly, Daily at 08:00, Weekdays at 08:00, Weekly on Mon, Wed at 08:00, Monthly on day 1 at 08:00, or Once at a date and time. A routine with an end shows it after the schedule, for example Daily at 08:00 until 2026-12-31 17:00.

Active

Active, the routine runs on its schedule. Paused, it does not run until resumed. Finished, a routine that runs once has run, or the routine has reached its end.

Next run

When the routine next runs.

Last run

When the routine last ran.

Last outcome

The outcome of the last run. Running while a run is in progress.

Runs

Started

Finished

When the run started and finished.

Outcome

How the run ended.

Error

The error that stopped a failed run. A tool error Ace recovered from during the run does not fail the run.

Routines toolbar

Insert

Opens the Routine window to add a routine.

Edit

Opens the Routine window to change the selected routine.

Delete

Deletes the selected routine, after confirmation.

Pause

Resume

Pauses an active routine, or resumes a paused one.

Run now

Runs the selected routine at once on the web service.

Runs toolbar

Open

Opens the chat of the selected run in a Chat window.

Routine window

Name

The routine name.

Prompt

The question or instruction Ace runs. Write it as you would type it in the Ace panel.

Pattern

How often the routine runs: Every 5 minutes, Every 15 minutes, Every 30 minutes, Hourly, Daily, Weekdays, Weekly, Monthly or Once. A minute pattern runs on the hour and at each interval past it, for example 09:00, 09:15, 09:30. The fields that follow change with the pattern.

Run At

For a daily, weekdays, weekly or monthly routine, the time of day it runs.

Monday to Sunday

For a weekly routine, the days it runs.

Day of month

For a monthly routine, the day it runs.

Once at

For a routine that runs once, the date and time.

End at

Optional. The date and time after which the routine no longer runs. Leave the time blank to end at 23:59 on that date. A time without a date is refused. Not available for a routine that runs once.

If the routine has no run left before its end, Accredo asks you to confirm the save. A routine that has reached its end shows as Finished.

See Also

Artificial Intelligence - Setup

Book Contents

Book Index